package cn.com.thingo.hyintelligent.base.contract;

import cn.com.thingo.hyintelligent.base.BasePresenter;
import cn.com.thingo.hyintelligent.base.BaseView;
import cn.com.thingo.hyintelligent.model.bean.CommonBean;
import cn.com.thingo.hyintelligent.model.bean.GatewayListBean;

public interface GatewayListContract {
    interface View extends BaseView {
        void viewGatewayList(GatewayListBean gatewayListBean);

        void viewModifyGateway(CommonBean commonBean);

    }

    interface Presenter extends BasePresenter<GatewayListContract.View> {
        void getGatewayList(String token);

        void modifyGateway(String token, String gatewayId, String name);
    }
}
